#include <REGX52.H>
#include "LCD1602.h"

void main()
{
	LCD1602_init();
	LCD1602_showChar(1, 1, 'A');
	LCD1602_showString(1, 3, "Hello!");
	LCD1602_showNum(1, 10, 68, 2);
	LCD1602_showSignedNum(1, 13, -70, 2);
	LCD1602_showHexNum(2, 1, 0xA8, 2);
	LCD1602_showBinNum(2, 4, 0xA8, 8);
	LCD1602_showChar(2,13,0xDF);		//在2行13列显示编码为0xDF的字符
	LCD1602_showChar(2,14,'C');			//在2行14列显示字符C
	while(1)
	{

	}
}
